/**
 * 知识点卡片数据类型定义
 */
export interface KnowledgeCard {
	id: number;
	title: string;
	description: string;
	icon: string;
	categoryId: string;
	categoryName: string;
	categoryIcon: string;
	difficulty: string;
	color: string;
	headerBg: string;
	tagBg: string;
	tagColor: string;
	difficultyBg: string;
}

/**
 * 核心要点（包含说明和代码示例）
 */
export interface KeyPoint {
	point: string;
	code: string;
}

/**
 * 知识点详情数据类型定义
 */
export interface KnowledgeDetail extends KnowledgeCard {
	keyPoints: KeyPoint[];
}

/**
 * 分类数据类型定义
 */
export interface Category {
	id: string;
	name: string;
	icon: string;
}

